package cn.ibobo.lease.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 用户订单表实体类DTO
 * @Author lililiang
 * @Date 2018-12-22 14:49:46
 */

@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("用户订单表实体类DTO")
public class UserOrderDTO {

	@ApiModelProperty(value = "", required = false)
	private String id;
	@ApiModelProperty(value = "会员id", required = false)
	private String uid;
	@ApiModelProperty(value = "商家id", required = false)
	private String bid;
	@ApiModelProperty(value = "总价", required = false)
	private BigDecimal totalmoney;
	@ApiModelProperty(value = "优惠金额", required = false)
	private BigDecimal couponmoney;
	@ApiModelProperty(value = "实付金额", required = false)
	private BigDecimal usemoney;
	@ApiModelProperty(value = "创建时间", required = false)
	private String createtm;
	@ApiModelProperty(value = "订单详情", required = false)
	private List<UserOrderDetailDTO> children;
	@ApiModelProperty(value = "订单详情JSON", required = false)
	private String childrenJson;
	@ApiModelProperty(value = "点金券领用记录id", required = false)
	private String ucid;
    @ApiModelProperty(value = "会员姓名", required = false)
    private String nickname;
    @ApiModelProperty(value = "商家名称", required = false)
    private String bname;
    @ApiModelProperty(value = "点金券名称", required = false)
    private String cname;
	@ApiModelProperty(value = "状态，1有效，0无效，-1删除", required = false)
	private Integer status;
	@ApiModelProperty(value = "商品id", required = false)
	private String gid;
	@ApiModelProperty(value = "购买数量", required = false)
	private Integer num;
	@ApiModelProperty(value = "商品名称", required = false)
	private String gname;
	@ApiModelProperty(value = "配送地址", required = false)
	private String address;


}
